
package cn.xabad.commons.plist;
import java.lang.String;

public class PReal extends PListObject implements IPListSimpleObject<Float> {

    
    protected Float real;

    
    private static final long serialVersionUID = -4204214862534504729L;

    public PReal() {
        setType(PListObjectType.REAL);
    }

    
    @Override
    public Float getValue() {
        return real;
    }

    
    @Override
    public void setValue(Float val) {
        this.real = val;
    }

    
    @Override
    public void setValue(String val) {
        this.real = new Float(Float.parseFloat(val.trim()));
    }
}
